package com.nwpu.server.learning.dao;

import com.nwpu.server.learning.entity.AlgorithmEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 算法名称表
 * 
 * @author YuXingZh
 * @email 617058979@qq.com
 * @date 2022-09-18 14:12:11
 */
@Mapper
public interface AlgorithmDao extends BaseMapper<AlgorithmEntity> {

    /**
     * 模糊查询
     * @return
     */
    List<String> listName(String name);

    /**
     * 查询所有
     * @return
     */
    List<String> listAll();
}
